package oop2;

/**
 * @author oldliu
 * @since 1.0
 */
public class JiaowuChu {
    String name="工大教务处";
    public int getAvgAge(Student[]ar){
        int sum=0;
        for(Student s:ar){
            sum+=s.age;
        }
        return sum/ar.length;
    }
}
